export default {
    // 当被绑定的元素插入到 DOM 中时……
    inserted(el, binding, node) {
      el.addEventListener('click', () => {
        if (!el.disabled) {
          el.disabled = true;
          setTimeout(() => {
            el.disabled = false;
          }, binding.value ||3000);
        }
      });
    }
  }
 